package com.lglbc.factory.abs;

import com.lglbc.factory.entity.BlackCar;
import com.lglbc.factory.entity.Car;
/**
 * @author： 乐哥聊编程(全平台同号)
 */
public class BlackCarFactory extends CarFactory {
    public Car createCar1() {
        System.out.println("抽象工厂 正在生产黑色汽车1....");
        return new BlackCar();
    }
    public Car createCar2() {
        System.out.println("抽象工厂 正在生产黑色汽车2....");
        return new BlackCar();
    }
}